package com.dgut.aop.test;

import org.junit.jupiter.api.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import com.dgut.aop.proxy.TestDao;

public class test {
	@Test
	public void test() {
		ApplicationContext context = new ClassPathXmlApplicationContext("applicationContext.xml");
		TestDao testDao = context.getBean("testDao",TestDao.class);
		testDao.sayHello();
	}
	
}
